package com.example.cursor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.cursor.entity.Account;
import com.example.cursor.entity.TransactionRecord;
import com.example.cursor.dto.TransferDTO;
import java.util.List;

public interface AccountService extends IService<Account> {
    // 转账
    TransactionRecord transfer(TransferDTO transferDTO);
    
    // 查询账户交易记录
    List<TransactionRecord> getTransactionRecords(Long accountId);
} 